package exercise1;

import java.util.Date;

public class SalariedEmployee extends Employee{
    private double monthlySalary;

    public SalariedEmployee(String name, int number, MyDate birthday) {
        super(name, number, birthday);
    }


    /**
     * 生日月的时候工资 加 100
     */
    @Override
    public void earnings() {
//        获取当前的月份
        Date date = new Date();
        int month = date.getMonth();
        // 判断当前月时候为生日月


    }
}
